package io.renren.utils.wx.wxpay;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author chenl
 */
@Data
@Component
@ConfigurationProperties(prefix = "pay.wxpay")
public class WXPayProperties {

    /**
     * 微信公众号appId
     */
    private String appId;

    /**
     * 微信支付商户号
     */
    private String mchId;

    /**
     * 微信支付商户key
     */
    private String key;


    /**
     * 微信支付回调地址
     */
    private String callback;

    private String certPath;
}
